import java.util.ArrayList;
import java.util.List;

class DiamondPrinter {

    List<String> printToList(char inputChar) {
        int length = inputChar - 'A';
        int diamondCol = length * 2 + 1;
        int diamondRow = length * 2 + 1;
        char[] currentRow;
        List<String> result = new ArrayList<>();

        for (int i = 0; i < diamondRow; i++) {
            currentRow = new char[diamondCol];
            for (int j = 0; j < diamondCol; j++) {
                currentRow[j] = ' ';
            }
            if (length >= i) {
                currentRow[length - i] = (char) ('A' + i);
                currentRow[length + i] = (char) ('A' + i);
            } else {
                currentRow[i - length] = (char) (inputChar - i + length);
                currentRow[length * 2 - i + length] = (char) (inputChar - i + length);
            }

            result.add(new String(currentRow));
        }

        return result;
    }
}